package com.aaa.member.dao;

import com.aaa.entity.Member;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 荆豪峰
 * @version 1.0
 * #Date: 2023/3/6 14:10
 */
@Mapper
public interface RegisterDao extends BaseMapper<Member> {
    List<Member> findUserName(String username);

    Integer insertAll(String username, String password, String phoneNum);

    List<Member> findPhone(String phoneNum);

    int updatepswd(String password,String phoneNum);
}
